package cn.edu.nuc.film.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
/**
 * 影评表
 * @author win7
 *
 */
public class Review {
	/**
	 * 影评表
	 */
    private Integer rwid;
    /**
     * 用户id
     */
    private Integer userid;
    
    /**
     * 用户name
     */
    private String username;
    /**
     * 影片id
     */
    private Integer filmId;
    /**
     * 影评内容
     */
    private String rwcontent;
    /**
     * 影评时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date rwtime;
    /**
     * 影评标题
     */
    private String rwtitle;
    
    
    
    
    
    public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getRwid() {
        return rwid;
    }

    public void setRwid(Integer rwid) {
        this.rwid = rwid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getFilmId() {
        return filmId;
    }

    public void setFilmId(Integer filmId) {
        this.filmId = filmId;
    }

    public String getRwcontent() {
        return rwcontent;
    }

    public void setRwcontent(String rwcontent) {
        this.rwcontent = rwcontent == null ? null : rwcontent.trim();
    }

    public Date getRwtime() {
        return rwtime;
    }

    public void setRwtime(Date rwtime) {
        this.rwtime = rwtime;
    }

    public String getRwtitle() {
        return rwtitle;
    }

    public void setRwtitle(String rwtitle) {
        this.rwtitle = rwtitle == null ? null : rwtitle.trim();
    }
}